import request from '@/utils/request'

// 获取文件地址
export function findPicture(data) {
	return request({
		url: '/attendance/minio/findPicture',
		method: 'POST',
		data
	})
}

// 获取字典
export function getDict(data) {
	return request({
		url: '/system/dict-data/type',
		method: 'GET',
		data
	})
}

// 获取省市区
export function getArea(data) {
	return request({
		url: '/system/area/tree',
		method: 'GET',
		data
	})
}

// 获取企业信息
export function getCompanyList(data) {
  return request({
    url: '/company/appCompanyInfo/list',
    method: 'post',
	data
  })
}
